angular.module('choujiang', ['ui.router', 'index.controller', 'draw.controller']).run(function () {

}).config(function ($stateProvider) {
    $stateProvider
        .state('index', {
            url: '/index',
            templateUrl: 'home.html',
            controller: 'indexController',
            title: '狮企黄页'
        })
        .state('draw', {
            url: '/draw',
            templateUrl: 'draw/draw.html',
            controller: 'drawController',
            title: '首届百家狮企交流会抽奖'
        })
        .state('draw1', {
            url: '/draw1',
            templateUrl: 'draw/drawNew.html',
            controller: 'drawNewController',
            title: '首届百家狮企交流会抽奖'
        });
});